package com.iwith.dongmoon.util;

public class ResultCode {

	// 공통
	public final static int SUCCESS = 1;
	public final static int PARTIALLY_SUCCESS = 2;
	public final static int UNKNOWN_ERROR = 9999;
	public final static int LOGIN_REQUIRED = 1001;
	public final static int DATABASE_ERROR = 1002;
	public final static int USER_NOT_EXIST = 1003;

	public final static int PASSWORD_INCORRECT = 4001;
	public final static int WITHDRAWAL_USER = 4002;
	public final static int STOPPED_USER = 4003;

	public final static int INVALID_PARAMETER_ERROR = 4000;

	public final static int DATABASE_INCONSISTENCY_ERROR = 1004;

	// 댓글 업로드
	public final static int NO_RELATED_TALKSONG = 2001;
	public final static int NO_TYPE_SONG_ERROR = 2002;

	// 파일 및 그림 업로드
	public final static int UPLOAD_AUTH_ERROR = 5001;
	public final static int UPLOAD_STORAGE_ERROR = 5002;
	public final static int UPLOAD_ERROR = 5003;

	// 시스템 상태 버전체크시
	public final static int SYSTEM_STATE_NORMAL = 1;
	public final static int SYSTEM_STATE_STOP = 6000;

	// 팬되기
	public final static int ALREADY_FAN = 7001;
	public final static int NOT_FAN = 7002;
	public final static int SAME_USER = 7003;

	// 회원가입 에러
	public final static int NICKNAME_ERROR = 9001;
	public final static int PASSWORD_ERROR = 9002;
	public final static int PHONE_ERROR = 9003;
	public final static int EMAIL_ERROR = 9004;

	// 회원가입 에러
	public final static int ALREADY_EXIST_NICKNAME = 3001;

	// 사진 삭제 에러
	public final static int NO_SUCH_ORDER = 3001;

	// 내가 추가한것들

	public final static int FAVORITE = 10003;
	public final static int NOT_FAVORITE = 10004;
	
	
	//
	public final static int TOGGLE_LIST = 10005;
	public final static int TOGGLE_MAP = 10006;
	
	

	
}